package vtt.android.lichphatsongbongda.entities;

import java.util.ArrayList;
import java.util.List;

import org.json.JSONObject;

import vtt.android.library.utils.api_helper.JSONUtil;

/**
 * @author vinhtt
 */
public class TVScheduleResult {
    
	private List<TVScheduleItem> tvScheduleList = new ArrayList<TVScheduleItem>();
	
    public TVScheduleResult(JSONObject jsonObject) {
    	tvScheduleList = JSONUtil.toList(jsonObject, "schedule", JSONUtil.getConstructor(TVScheduleItem.class));
    }

	public List<TVScheduleItem> getTvScheduleList() {
		return tvScheduleList;
	}
    
}
